#ifndef PLAYER_H
#define PLAYER_H

#include <SFML/Graphics.hpp>
#include <iostream>
using namespace std;

#define SCREEN_W 800
#define SCREEN_H 600


class player
{
    public:
        player(float x, float y, float w, float h);
        virtual ~player();
        float box_x;
        float box_y;
        float box_w;
        float box_h;
        float move_speed;
        float fullhp;
        float hp;
        // box x,y,w,h can be private or protected, but it may result in making collision checking hard
        void giveImage(sf::Texture a);
        void movement();
        void drawMe();
        void updateMe();
        sf::Sprite psprite;

    protected:
    private:
};

#endif // PLAYER_H
